package com.SmartCare.pojo.homeInfo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 建议箱
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class CareHomeSuggestion implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 记录的唯一标识
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;
    /**
     * 养老院id
     */
    private Long careHomeId;
    /**
     * 家属编号
     */
    private Long userId;
    /**
     * 建议内容
     */
    private String content;
    /**
     * 图片地址
     */
    private String pictureUrl;
    /**
     * 建议创建时间
     */
    private Date createdTime;

}
